"""
RedFire Framework
================

统一的微服务框架，提供核心基础设施和共享组件。
消除双重标准，实现架构统一。
"""

__version__ = "2.0.0"

# 统一架构核心组件
from .core.container import RedFireContainer, create_service_container
from .core.config import RedFireSettings, load_settings, get_service_settings
from .core.security import SecurityService
from .core.database import DatabaseManager

# 数据处理组件
from .data_processing.converter import RedFireDataConverter
from .data_processing.engine import RealtimeDataEngine
from .data_processing.models import MarketDataTick, MarketDataBar, ContractInfo

__all__ = [
    # 统一架构 - 唯一标准
    "RedFireContainer",
    "create_service_container", 
    "RedFireSettings",
    "load_settings",
    "get_service_settings",
    "SecurityService",
    "DatabaseManager",
    
    # 数据处理
    "RedFireDataConverter",
    "RealtimeDataEngine",
    "MarketDataTick", 
    "MarketDataBar", 
    "ContractInfo"
]
